projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46564c8
)
(init_buffer): Init default-directory of minibuffer.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 22:07:18 +0000
(22:07 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 22:07:18 +0000
(22:07 +0000)
src/buffer.c
patch
|
blob
|
history
diff --git
a/src/buffer.c
b/src/buffer.c
index c6212beda77e0559dc8ef32455b8c9e2e58d7fca..be94972ee87dce2990f613e557a18cfe84b04d84 100644
(file)
--- a/
src/buffer.c
+++ b/
src/buffer.c
@@
-1972,6
+1972,7
@@
init_buffer ()
char buf[MAXPATHLEN+1];
char *pwd;
struct stat dotstat, pwdstat;
+ Lisp_Object temp;
Fset_buffer (Fget_buffer_create (build_string ("*scratch*")));
@@
-1994,6
+1995,9
@@
init_buffer ()
strcat (buf, "/");
#endif /* not VMS */
current_buffer->directory = build_string (buf);
+
+ temp = get_minibuffer (0);
+ XBUFFER (temp)->directory = current_buffer->directory;
}
/* initialize the buffer routines */